package com.sihan.swvp.dao.zc;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.sihan.swvp.dao.BaseDao;
import com.sihan.swvp.entity.zc.Zcgl;

public interface ZcglDao extends BaseDao{

	public List<Map<String, Object>> getZcgl(Map<String, Object> params);
	public void addZcgl(Zcgl bean);
	public void updateZcgl(Zcgl bean);
	public int deleteZcgl(@Param("id")Integer id,@Param("leaf")String leaf);
	
	/**
	 * 验证编码和名称
	 * @param code
	 * @param dsdwName
	 * @return
	 */
	public Integer getZcglValidate(Map<String, Object> param);
}
